package com.ruoyi.user.mapper;


import com.ruoyi.user.pojo.Detall;
import com.ruoyi.user.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

public interface UserRegistMapper {
//    @Select("select * from tb_user where uname=#{user_name}")
//    User registInsert(User user);


    @Insert("insert into tb_user set uname=#{user_name},pwd=#{user_pwd},phone=#{user_phone},idcard=#{idcard},bankcard=#{bankcard},image=#{image},rid=1")
    void insert(User user);

}
